package com.ruoyi.tianliangedu.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 父类章节对象 tianliang_father_section
 *
 * @author lsj
 * @date 2021-07-12
 */
public class TianliangFatherSection extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 父章节编号
     */
    private Long fatherSectionId;

    /**
     * 父章节名字
     */
    @Excel(name = "父章节名字")
    private String fatherSectionName;

    /**
     * 父章节备注
     */
    @Excel(name = "父章节备注")
    private String fatherSectionText;

    /**
     * 父章节关联课
     */
    @Excel(name = "父章节关联课")
    private String sectionCourseId;

    public Long getFatherSectionId() {
        return fatherSectionId;
    }

    public void setFatherSectionId(Long fatherSectionId) {
        this.fatherSectionId = fatherSectionId;
    }

    public String getFatherSectionName() {
        return fatherSectionName;
    }

    public void setFatherSectionName(String fatherSectionName) {
        this.fatherSectionName = fatherSectionName;
    }

    public String getFatherSectionText() {
        return fatherSectionText;
    }

    public void setFatherSectionText(String fatherSectionText) {
        this.fatherSectionText = fatherSectionText;
    }

    public String getSectionCourseId() {
        return sectionCourseId;
    }

    public void setSectionCourseId(String sectionCourseId) {
        this.sectionCourseId = sectionCourseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("fatherSectionId", getFatherSectionId())
                .append("fatherSectionName", getFatherSectionName())
                .append("fatherSectionText", getFatherSectionText())
                .append("sectionCourseId", getSectionCourseId())
                .toString();
    }
}
